import * as constants from './MutationTypes'

export default {
  [constants.SET_USER_INFO] ({ commit, dispatch }, data) {
    commit(constants.SET_USER_INFO, data)
  },
  [constants.UPDATE_USER_INFO] ({ commit }, data) {
    commit(constants.UPDATE_USER_INFO, data)
  }
}
